package org.celery.modules.other.wrapper;

import lombok.AllArgsConstructor;
import org.springblade.core.mp.support.BaseEntityWrapper;
import org.springblade.core.tool.utils.BeanUtil;
import org.celery.modules.other.entity.LogisticsFee;
import org.celery.modules.other.vo.LogisticsFeeVO;

/**
 * 物流费用表包装类,返回视图层所需的字段
 *
 * @author Celery
 * @since 2022-04-19
 */
public class LogisticsFeeWrapper extends BaseEntityWrapper<LogisticsFee, LogisticsFeeVO>  {

    public static LogisticsFeeWrapper build() {
        return new LogisticsFeeWrapper();
    }

	@Override
	public LogisticsFeeVO entityVO(LogisticsFee logisticsFee) {
		LogisticsFeeVO logisticsFeeVO = BeanUtil.copy(logisticsFee, LogisticsFeeVO.class);

		return logisticsFeeVO;
	}

}
